
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.MedicinePrice;
import cn.edu.scau.cmi.hombio.domain.MedicineStorage;
import cn.edu.scau.cmi.hombio.domain.MedicineSupplier;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for MedicinePrice entities
 * 
 */
public interface MedicinePriceService {

	/**
	* Delete an existing MedicineStorage entity
	* 
	 */
	public MedicinePrice deleteMedicinePriceMedicineStorage(Integer medicineprice_id, Integer related_medicinestorage_id);

	/**
	* Save an existing MedicinePrice entity
	* 
	 */
	public void saveMedicinePrice(MedicinePrice medicineprice);

	/**
	* Delete an existing MedicineSupplier entity
	* 
	 */
	public MedicinePrice deleteMedicinePriceMedicineSupplier(Integer medicineprice_id_1, Integer related_medicinesupplier_id);

	/**
	* Save an existing MedicineStorage entity
	* 
	 */
	public MedicinePrice saveMedicinePriceMedicineStorage(Integer id, MedicineStorage related_medicinestorage);

	/**
	 */
	public MedicinePrice findMedicinePriceByPrimaryKey(Integer id_1);

	/**
	* Return a count of all MedicinePrice entity
	* 
	 */
	public Integer countMedicinePrices();

	/**
	* Load an existing MedicinePrice entity
	* 
	 */
	public Set<MedicinePrice> loadMedicinePrices();

	/**
	* Return all MedicinePrice entity
	* 
	 */
	public List<MedicinePrice> findAllMedicinePrices(Integer startResult, Integer maxRows);

	/**
	* Delete an existing MedicinePrice entity
	* 
	 */
	public void deleteMedicinePrice(MedicinePrice medicineprice_1);

	/**
	* Save an existing MedicineSupplier entity
	* 
	 */
	public MedicinePrice saveMedicinePriceMedicineSupplier(Integer id_2, MedicineSupplier related_medicinesupplier);
}